package com.springboot.mapper;

import com.springboot.model.MedicineListForm;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;

@Mapper
public interface MedicineListFormMapper {
    int deleteByPrimaryKey(Integer listId);

    int insert(MedicineListForm record);

    int insertSelective(MedicineListForm record);

    MedicineListForm selectByPrimaryKey(Integer listId);

    int updateByPrimaryKeySelective(MedicineListForm record);

    int updateByPrimaryKey(MedicineListForm record);

    ArrayList<MedicineListForm> selectByPatientId(Integer patientId);
}